package com.xlh.dao.course;

import com.xlh.pojo.course.ChapterBasic;
import com.xlh.pojo.course.ChapterBasicExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ChapterBasicMapper {
    long countByExample(ChapterBasicExample example);

    int deleteByExample(ChapterBasicExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ChapterBasic record);

    int insertSelective(ChapterBasic record);

    List<ChapterBasic> selectByExample(ChapterBasicExample example);

    ChapterBasic selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ChapterBasic record, @Param("example") ChapterBasicExample example);

    int updateByExample(@Param("record") ChapterBasic record, @Param("example") ChapterBasicExample example);

    int updateByPrimaryKeySelective(ChapterBasic record);

    int updateByPrimaryKey(ChapterBasic record);
}